/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const customerRouter = {
  path: '/customer',
  component: Layout,
  redirect: 'noRedirect',
  name: '客户',
  hidden:true,
  meta: {
    title: '客户',
    icon: 'money'
  },
  children: [
    {
      path: 'client',
      component: () => import('@/views/customer/client/client'),
      name: '客户',
      hidden:true,
      meta: { title: '客户'}
    },
    {
      path: 'grade',
      component: () => import('@/views/customer/grade/grade'),
      name: '等级',
      hidden:true,
      meta: { title: '等级'}
    },
    {
      path: 'grade-add',
      component: () => import('@/views/customer/grade/grade-add'),
      name: '等级',
      hidden:true,
      meta: { title: '等级'}
    },
    {
      path: 'grade-detail',
      component: () => import('@/views/customer/grade/grade-detail'),
      name: '等级',
      hidden:true,
      meta: { title: '等级'}
    },
    {
      path: 'channel',
      component: () => import('@/views/customer/channel/channel'),
      name: '渠道',
      hidden:true,
      meta: { title: '渠道'}
    },
    {
      path: 'channel-add',
      component: () => import('@/views/customer/channel/channel-add'),
      name: '渠道',
      hidden:true,
      meta: { title: '渠道'}
    },
    {
      path: 'channel-detail',
      component: () => import('@/views/customer/channel/channel-detail'),
      name: '渠道',
      hidden:true,
      meta: { title: '渠道'}
    },
    {
      path: 'clue',
      component: () => import('@/views/customer/clue/clue'),
      name: '线索',
      hidden:true,
      meta: { title: '线索'}
    },
    {
      path: 'script',
      component: () => import('@/views/customer/script/script'),
      name: '话术',
      hidden:true,
      meta: { title: '话术'}
    },
    {
      path: 'label',
      component: () => import('@/views/customer/label/label'),
      name: '标签',
      hidden:true,
      meta: { title: '标签'}
    },
    {
      path: 'drainage',
      component: () => import('@/views/customer/drainage/drainage'),
      name: '引流资料',
      hidden:true,
      meta: { title: '引流资料'}
    },
    {
      path: 'drainage-add',
      component: () => import('@/views/customer/drainage/drainage-add'),
      name: '引流资料编辑',
      hidden:true,
      meta: { title: '引流资料编辑'}
    },
    {
      path: 'drainage-detail',
      component: () => import('@/views/customer/drainage/drainage-detail'),
      name: '引流资料档案',
      hidden:true,
      meta: { title: '引流资料档案'}
    },
  ]
}

export default customerRouter
